package com.sms.biz.impl;

import java.util.List;

import com.sms.biz.IDataDictBiz;
import com.sms.dao.IDataDictDAO;
import com.sms.po.TDatadict;

public class DataDictBizImpl implements IDataDictBiz {
	private IDataDictDAO iddd = null;

	public IDataDictDAO getIddd() {
		return iddd;
	}

	public void setIddd(IDataDictDAO iddd) {
		this.iddd = iddd;
	}

	@Override
	public boolean addDataDict(TDatadict tdt) {
		return iddd.addDataDict(tdt);
	}

	@Override
	public int getDataDictCount(String dataKey, String flag, String value,String remark) {
		return iddd.getDataDictCount(dataKey, flag, value,remark);
	}

	@Override
	public boolean removeDataDict(TDatadict tdt) {
		return iddd.removeDataDict(tdt);
	}

	@Override
	public List<TDatadict> showDataDictByPage(String dataKey, String flag,
			String value,String remark, int start, int limit) {
		return iddd.showDataDictByPage(dataKey, flag, value,remark, start, limit);
	}

	@Override
	public boolean updateDataDict(TDatadict tdt) {
		return iddd.updateDataDict(tdt);
	}

}
